package com.heima.service;

import com.heima.pojo.TbOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AkiRinko
 * @since 2024-06-11
 */
public interface ITbOrderService extends IService<TbOrder> {
    /**
     * 订单总量
     * @param start
     * @param end
     * @return
     */
    String selectOrderCount(String start, String end);

    /**
     * 当月销售额
     * @param start
     * @param end
     * @return
     */
    Integer selectOrderAmount(String start, String end);
}
